import { createRouter, createWebHashHistory } from "vue-router";
import Home from "../views/Home.vue";

const routes = [
  {
    path: "/",
    name: "Home",
    component: Home
  },
  {
    path: '/watch',
    name: 'watch',
    component: () => import('../views/watch.vue')
  },
  {
    path: '/setup',
    name: 'setup',
    component: () => import('../views/setup.vue')
  },
  {
    path: '/reactiveANDref',
    name: 'reactiveANDref',
    component: () => import('../views/reactiveANDref.vue')
  },
  {
    path: '/toRefs',
    name: 'toRefs',
    component: () => import('../views/toRefs.vue')
  },  
  {
    path: '/provideANDinject',
    name: 'provideANDinject',
    component: () => import('../views/provideANDinject.vue')
  },   
];

const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
